package com.hwl.demo6.entity;

/**
 * 工作经历类
 *
 * @author sentry
 * @since 2023-03-18
 */
public class WorkExperience implements Cloneable {

    private String timeArea;
    private String company;

    public String getTimeArea() {
        return timeArea;
    }

    public void setTimeArea(String timeArea) {
        this.timeArea = timeArea;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    @Override
    public WorkExperience clone() {
        WorkExperience object;
        try {
            object = ((WorkExperience) super.clone());
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException("clone失败");
        }
        return object;
    }
}
